Add valgrind leak suppressiosn for Fedora 18 to improve signal:noise.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 30 Aug 2013 18:45:05 +0000 (18:45 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 30 Aug 2013 18:45:05 +0000 (18:45 +0000)
Inspired by http://wiki.wxwidgets.org/Valgrind_Suppression_File_Howto
I'm not terribly confident these are as tight as can be (and I fear they
may be too loose in come cases) but it really helps "interesting" issues
pop out over system library loss.

gpsbabel/gpsbabel.supp [new file with mode: 0644]
gpsbabel/vtesto

diff --git a/gpsbabel/gpsbabel.supp b/gpsbabel/gpsbabel.supp
new file mode 100644 (file)
index 0000000..dff92e8
--- /dev/null
@@ -0,0 +1,42 @@
+{
+   <Fedora18: Qt's use of libuuc leaks.>
+   Memcheck:Leak
+   ...
+   obj:*libicuuc*
+}
+{
+   <Fedora18: XmlStreamAttributes has an internal leak.>
+   Memcheck:Leak
+   ...
+   fun:_ZL7tag_wptRK20QXmlStreamAttributes
+}
+
+{
+   <F18 internal leak for locales called from toDouble>
+   Memcheck:Leak
+   ...
+   fun:_ZN14QLocalePrivate19updateSystemPrivateEv
+}
+
+{
+   <F18 many errors from dlopened objects.
+   Memcheck:Leak
+   ...
+   fun:dlopen_doit
+}
+
+{
+   <F18 leak in QIODevice::QIODevice ctor>
+   Memcheck:Leak
+   ...
+   fun:_ZN9QIODeviceC1ER16QIODevicePrivateP7QObject
+}
+
+
+{
+   <F18 leak in QTextStream::QTextStream(QIODevice*) in google.cc >
+   Memcheck:Leak
+   ...
+   fun:_ZN11QTextStreamC1EP9QIODevice
+}
+
index 528b131063be31f419ec2c0845ac2eb5c20b9294..72f2dbb7b4abbae0c6e51d57d80154afd3b43804 100755 (executable)
@@ -11,7 +11,7 @@ BASEPATH=`dirname $0`
 
 while getopts "l" opt; do
   case $opt in
-    l) OPTS="--leak-check=full --show-reachable=yes" ; QUIET="";;
+    l) OPTS="--leak-check=full --show-reachable=yes --suppressions=gpsbabel.supp" ; QUIET="";;
   esac
 done
 shift $(($OPTIND -1))